package com.ming.springcloud.dao;

import com.ming.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author WangQiming
 */
@Mapper
public interface PaymentDao {

     int create(@Param("payment") Payment payment);

    Payment getPaymentById(@Param("id")Long id);
}
